<?php
declare(strict_types=1);

use Hyperf\HttpServer\Router\Router;

Router::get('/','App\Controller\IndexController@index');

Router::addGroup('/auth',function(){
    Router::get('/login','App\Controller\Web\AuthController@login');
    Router::post('/post/signup','App\Controller\Web\AuthController@doSignUp');
    Router::post('/post/login','App\Controller\Web\AuthController@doLogin');
});